package com.vhall.component.entity.room.enums;

import com.vhall.component.entity.dictionary.enums.BaseEnum;
import lombok.Getter;

/**
 * ValidEnum-
 *
 * @author xing.wang
 * @date 2023/8/10
 */
@Getter
public enum ValidEnum implements BaseEnum {
    INVALID(0,"无效"),
    VALID(1,"有效");
    private final Integer value;
    private final String name;

    ValidEnum(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getName() {
        return name;
    }
}
